#pragma once
#include "global.h"
class collisionHandle
{

public:
	boundingbox boxes[255];
	int counter;
	collisionHandle();
	int addBox(int x, int y, int h, int w);
	void removeBox(int id);
	bool checkBox(float x, float y, float x2, float y2);
	//bool checkLine(int x, int y, int h, int w);
	//float checkPolarLine(int x, int y, int angle, int length);//will return the length at which the collision is detected.
};

